package edu.sctu.practice.class02.yangyuran.test05;

/**
 * Created by Administrator on 2015/10/11.
 */
public class Person {
    private String name;
    private int age;

    public Person() {
        this.name = "李狗蛋儿";
        this.age = 28;
    }

    public void display() {
        System.out.println("姓名为：" + this.name);
        System.out.println("年龄为：" + this.age);
    }

    public static void main(String[] args) {
        Person person = new Person();
        person.display();
    }
}
